Skip to content

Keep the account tray running after window close - #7

Merged
wrestle-R merged 1 commit into
mainfrom
fix/macos-close-to-tray
Nov 23, 2026
Merged

wrestle-R merged 1 commit into
mainfrom
fix/macos-close-to-tray

Conversation

@wrestle-R

@wrestle-R wrestle-R commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closing Multi Codex should leave its account menu running. The launcher already intercepts CloseRequested, but its application event loop accepts the separate code-less ExitRequested emitted when the last native window disappears. Prevent that automatic exit on macOS and Linux while allowing explicit Quit and updater restarts, which carry exit codes.

Share the existing close handler and the new exit handler with a native regression fixture. The macOS CI job now checks that closing hides the launcher, reopening works, the tray remains registered after last-window destruction, and explicit Quit exits. It also runs without the new guard and requires that control to fail for the expected reason.

Refs #6, especially the reports that the issue persisted in v1.7.2 and after closing the window. No release or version bump is included.

Validation

  • Passed locally: all 142 desktop tests, 14 release-gate tests, frontend production build, full npm run build:desktop including the native helper, Rust formatting, Python syntax, whitespace checks, and tracked-secret scan.
  • macOS native lifecycle regression and the repository's existing native CI checks are pending.
  • The reporter's exact Mac UI symptom has not been reproduced on this Linux workspace. The native fixture exercises the shared lifecycle handlers with a real window and tray; it checks tray registration, not physical menu-bar visibility or Dock interactions.

@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
multi-codex Ready Ready Preview Nov 23, 2026 7:00pm UTC

@wrestle-R
wrestle-R marked this pull request as ready for review November 23, 2026 19:37
Copilot AI balanced review requested due to automatic review settings November 23, 2026 19:37
@wrestle-R
wrestle-R merged commit c03b5e6 into main Nov 23, 2026
11 of 13 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

This branch was successfully deployed

1 active deployment
Preview — 849541f2 Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants